package cn.polar.reflection;

/**
 * ClassName: User
 * Package: cn.polar.reflection
 * Description:
 *
 * @Author polar-thomas
 * @Create 2024/12/9 16:07
 * @Version 1.0
 */
public class User {

    private  String userName;

    private  Integer age;

    public User() {
    }

    public User(String userName, Integer age) {
        this.userName = userName;
        this.age = age;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                '}';
    }
}
